package su.user.entity;

import java.io.Serializable;

import su.tool.AreaUtil;

public class UserCustomer implements Serializable {
	private static final long serialVersionUID = 1L;
	private int id;

	private String customername;//客户名称

	private String jianpin;//简拼

	private int ywyid;//业务员id

	private int provientid;//省份id
	
	private String postcode;//邮编

	private String address;//地址
	
	private String tel;//电话

	private String fax;//传真
	
	private String taxnum;//税号

	private String bank;//开户银行
	
	private String banknum;//银行开户号
	
	private String shipmenttype;//发货方式
	
	private String shipmentaddr;//收货地址
	
	private String invoice;//（常规）是否开票,1是2否

	private String customerdesc;//备注
	
	private int status;//状态，0删除，1有效

	private String pname;
	
	private String provientStr;
	
	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getInvoice() {
		return invoice;
	}

	public void setInvoice(String invoice) {
		this.invoice = invoice;
	}

	public String getProvientStr() {
		return AreaUtil.getAreaStr(this.provientid);
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public String getBank() {
		return bank;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}

	public String getBanknum() {
		return banknum;
	}

	public void setBanknum(String banknum) {
		this.banknum = banknum;
	}

	public String getShipmenttype() {
		return shipmenttype;
	}

	public void setShipmenttype(String shipmenttype) {
		this.shipmenttype = shipmenttype;
	}

	public String getShipmentaddr() {
		return shipmentaddr;
	}

	public void setShipmentaddr(String shipmentaddr) {
		this.shipmentaddr = shipmentaddr;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCustomername() {
		return customername;
	}

	public void setCustomername(String customername) {
		this.customername = customername;
	}

	public String getJianpin() {
		return jianpin;
	}

	public void setJianpin(String jianpin) {
		this.jianpin = jianpin;
	}

	public int getYwyid() {
		return ywyid;
	}

	public void setYwyid(int ywyid) {
		this.ywyid = ywyid;
	}

	public int getProvientid() {
		return provientid;
	}

	public void setProvientid(int provientid) {
		this.provientid = provientid;
	}

	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getTaxnum() {
		return taxnum;
	}

	public void setTaxnum(String taxnum) {
		this.taxnum = taxnum;
	}

	public String getCustomerdesc() {
		return customerdesc;
	}

	public void setCustomerdesc(String customerdesc) {
		this.customerdesc = customerdesc;
	}

}
